package muilty_thread.pic_java_design_pattern.GuardedSuspension;

import java.util.Random;

/**
 * @version: 1.0
 * @Description: TODO
 * @author: zZmH
 * @date: 2020/10/12 00:34
 */


public class Main {
    public static void main(String[] args) {
        RequestQueue queue = new RequestQueue();
        new Thread(new ClientThread(new Random(), queue)).start();
        new Thread(new ServerThread(new Random(), queue)).start();
    }
}
